﻿#ifndef COMALGOR_H
#define COMALGOR_H

#include <QObject>

class ComAlgor : public QObject
{
    Q_OBJECT
public:
    explicit ComAlgor(QObject *parent = nullptr);
    virtual ~ComAlgor();

    uint16_t crcVal(unsigned char *pcMess,unsigned int wLen);
    uint16_t  CRC16(const unsigned char *buf, unsigned int len);
signals:

};

#endif // COMALGOR_H
